package com.xxx.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 *
 * 用户登录实体类
 * 用户登录只需要username password等很少的字段，没必要用主类
 * @author WXH
 * @version 1.0
 * @date 2022/2/23 17:05
 */
@Data
@EqualsAndHashCode(callSuper =  false)
@Accessors(chain = true)
@ApiModel(value = "AdminLogin对象",description = "")
public class AdminLoginParam {
    @ApiModelProperty(value = "用户名",required = true)//用户名必填
    private String username;
    @ApiModelProperty(value = "密码",required = true)//密码必填
    private String password;
    @ApiModelProperty(value = "验证码",required = true)//验证码必填
    private String code;

}
